<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$title}</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/frame.css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/artDialog/jquery.artDialog.js?skin=default"></script>
<script type="text/javascript" src="__PUBLIC__/js/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/jquery.layout.js"></script>
<script type="text/javascript">
var myLayout;
$(document).ready(function(){
myLayout=$("body").layout({west__minSize:40,spacing_open:4,spacing_closed:4,east__initClosed:true,north__spacing_open:0,south__spacing_open:0,togglerLength_open:30,togglerLength_closed:60});
});
</script>
</head>
<body style="MARGIN: 0px" scroll="no">
<div class="ui-layout-north">
  <div class="header">
    <div class="logo">{$title}</div>
    <div class="right_menu">
      <!--<SPAN><A class=aa href="{url('index/password')}" target="main">修改密码</A></SPAN> -->
      <span><a class="bb" href="{url('default/index/index')}" target="_blank">网站主页</a></span> <span><a class="cc" href="{url('index/clearCache')}" target="main">更新缓存</a></span> <span><a class="dd" href="{url('index/logout')}" target="_parent">注销登录</a></span> </div>
  </div>
</div>
<div class="ui-layout-west">
  <div id="menu"> 
   {loop $leftMenu $menu}
		{if !empty($menu['list'])}
		<div class="menubg_1 cursor">{$menu['title']}</div>
		<ul class="none">
		  {loop $menu['list'] $name $url}
		  <li><a href="{$url}"  target="main">{$name}</a> </li>
		  {/loop}
		</ul>
		{/if}
	{/loop}
	</div>
</div>
<div class="ui-layout-center">
  <iframe style="OVERFLOW: visible" id="main" height="100%" src="{$iframeUrl}" frameborder="0" width="100%" name="main" scrolling="Yes"> </iframe>
</div>
<script type="text/javascript"> 
$(function(){
	$("#menu").find('DIV').first().attr('class','menubg_2');
	$("#menu").find('UL').first().show();
	$("#menu DIV").click(function(){
		$("#menu DIV").attr('class','menubg_1');
		$("#menu UL").hide();
		$(this).attr('class','menubg_2');
		$(this).next().show();
	});
});
</script>
</body>
</html>
